﻿function  openup(page)
{
    var months=document.getElementById("DropDownList3");
	var lists=document.getElementById("DropDownList4");	
	var list=lists.options[lists.selectedIndex];
	var month=months.options[months.selectedIndex];
	
	if(list!=null)
	{
		var value=list.value ;		
		var post=document.getElementById("MtxtD_POSTID").value;
		var monthvalue=month.value; 	
		
		do_pager(value,page,post,monthvalue);
	}
}

function  Gopenup(page)
{
	do_pagerG(page);
}
function do_pager(year,page,post,monthvalue)
{
	f_setControlsValue();
	
	LCallBack.Callback(year,page,post,monthvalue);
}
function do_pagerG(page)
{
	 
	GGBack1.Callback(page);
}
function  Dopenup(page)
{
	DayBack1.Callback(page);
}
function  Wopenup(page)
{
	WGBack1.Callback(page);
}
function do_pagernum(e)
{
	f_setControlsValue();
	LCallBack.Callback(e.title);
}
function do_pagerquery()
{
	f_setControlsValue();
	LCallBack.Callback();
}
function do_pagerdelete()
{
	f_setControlsValue();
	LCallBack.Callback("DELETE",0); 
}
function do_pagerprint(pname)
{
	f_setControlsValue();
	LCallBack.Callback(pname); 
}
function  GZopenup(page)
{
	GZBack1.Callback("READ",page);
}
function  DElGZopenup(id)
{
	if (confirm("\u4F60\u786E\u8BA4\u8981\u5220\u9664\u4E48?") == true) {
	GZBack1.Callback("DELETE",1,id);
	}
}
function f_setControlsValue()
{
}